package com.xx.service;

import com.xx.entity.User;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


public interface UserService {

    List<User> selectAll();

    User selectById(int id);

     void save(User user);

     void deleteById(int id);
}
